// DataBase.h: interface for the CDataBase class.
//
//////////////////////////////////////////////////////////////////////
#pragma once
#include "AfxDB.h"

class CDBConnection  
{
public:

	BOOL DBState();

	BOOL Rollback();

	BOOL CommitTrans();

	BOOL BeginTrans();

	void CloseDatabase();

	BOOL ExecuteSQL(CString& sql);

	BOOL ConnectDB(CString& connStr);

	CDBConnection();

	virtual ~CDBConnection();

	CDatabase  m_db;
};

